package com.eorchis.module.reminduserlink.ui.commond;

import java.io.Serializable;
import com.eorchis.core.basedao.entity.IBaseEntity;
import com.eorchis.core.ui.commond.ICommond;
import com.eorchis.module.remind.domain.Remind;
import com.eorchis.module.reminduserlink.domain.RemindUserLink;
import org.hibernate.validator.constraints.NotBlank;
import com.eorchis.core.ui.commond.ICommonField;
import java.util.Date;

/**
 * Title: RemindUserLinkValidCommond<br>
 * Description: 提醒用户关联表ValidCommond<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author RongSL
 * @createDate 2016-05-06
 * @version $Revision$
 */
public class RemindUserLinkValidCommond extends RemindUserLinkQueryCommond  implements ICommond,ICommonField {
	
	private RemindUserLink remindUserLink;
	private String remindUserNoReadCount;//提醒未读总数
	private String newsUserNoReadCount;//消息未读总数
	
	public RemindUserLinkValidCommond(){
		remindUserLink = new RemindUserLink();
	}
	
	public RemindUserLinkValidCommond(RemindUserLink remindUserLink){
		this.remindUserLink = remindUserLink;
	}

	public Serializable getEntityID() {
		return remindUserLink.getRemindUserId();
	}

	@Override
	public IBaseEntity toEntity() {
		return remindUserLink;
	}

	/**
	 * 获取提醒用户ID
	 */	
	@NotBlank
	public String getRemindUserId() {
		return remindUserLink.getRemindUserId();
	}
	/**
	 * 设置提醒用户ID
	 */		
	public void setRemindUserId(String remindUserId) {
		remindUserLink.setRemindUserId(remindUserId);
	}
	/**
	 * 获取查看状态
	 */	
	public Integer getLookState() {
		return remindUserLink.getLookState();
	}
	/**
	 * 设置查看状态
	 */		
	public void setLookState(Integer lookState) {
		remindUserLink.setLookState(lookState);
	}
	/**
	 * 获取提醒表内容
	 */	
	public String getRemindValue() {
		return remindUserLink.getRemindValue();
	}
	/**
	 * 设置提醒表内容
	 */		
	public void setRemindValue(String remindValue) {
		remindUserLink.setRemindValue(remindValue);
	}
	/**
	 * 获取提醒表ID
	 */	
	public Remind getRemind() {
		return remindUserLink.getRemind();
	}
	/**
	 * 设置提醒表ID
	 */		
	public void setRemind(Remind remind) {
		remindUserLink.setRemind(remind);
	}
	
	public Date getCreateDate() {
		return remindUserLink.getCreateDate();
	}

	public void setCreateDate(Date createDate) {
		remindUserLink.setCreateDate(createDate);
	}

	@Override
	public Integer getActiveState() {
		return remindUserLink.getActiveState();
	}

	@Override
	public void setActiveState(Integer activeState) {
		remindUserLink.setActiveState(activeState);
	}

	public String getRemindUserNoReadCount() {
		return remindUserNoReadCount;
	}

	public void setRemindUserNoReadCount(String remindUserNoReadCount) {
		this.remindUserNoReadCount = remindUserNoReadCount;
	}

	public String getNewsUserNoReadCount() {
		return newsUserNoReadCount;
	}

	public void setNewsUserNoReadCount(String newsUserNoReadCount) {
		this.newsUserNoReadCount = newsUserNoReadCount;
	}	
	
	public Integer getSendPermit() {
		return remindUserLink.getSendPermit();
	}
	public void setSendPermit(Integer sendPermit) {
		remindUserLink.setSendPermit(sendPermit);
	}
	
	public String getRemindCode() {
		return remindUserLink.getRemindClassIdCode();
	}
	public void setRemindCode(String remindCode) {
		remindUserLink.setRemindClassIdCode(remindCode);
	}
}
